package cn.myfirefly.moming.portal.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "mm_function_action")
public class MMFunctionAction extends BasePO implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3959335716923578674L;
	private Integer funActionSn;
	private Integer funSn;
	private String actionName;
	private String action;
	private String status;
	private Integer systemId;

	public MMFunctionAction() {
	}

	public MMFunctionAction(String actionName, String action, String status) {
		this.actionName = actionName;
		this.action = action;
		this.status = status;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "fun_action_sn", unique = true, nullable = false)
	public Integer getFunActionSn() {
		return this.funActionSn;
	}

	public void setFunActionSn(Integer funActionSn) {
		this.funActionSn = funActionSn;
	}

	@Column(name = "fun_sn")
	public Integer getFunSn() {
		return this.funSn;
	}

	public void setFunSn(Integer funSn) {
		this.funSn = funSn;
	}

	@Column(name = "action_name", nullable = false, length = 50)
	public String getActionName() {
		return this.actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	@Column(name = "action", nullable = false, length = 100)
	public String getAction() {
		return this.action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	@Column(name = "status", nullable = false, length = 2)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "system_id", nullable = false)
	public Integer getSystemId() {
		return systemId;
	}

	public void setSystemId(Integer systemId) {
		this.systemId = systemId;
	}
}
